//
//  @ Project : Project1
//  @ File Name : IItem.java
//  @ Date : 1/21/2013
//  @ Author : Graham Tapscott
//
//



/***
 * Inteface definition for the item class
 * @author gtapscott
 *
 */
public interface IItem {

	/***
	 * getIndex - index variable getter
	 * @return the index variable
	 */
	public Integer getIndex();
	
	/***
	 * getCreatureIndex - creature variable getter
	 * @return the creature variable
	 */
	public Integer getCreatureIndex();
	
	/***
	 * getType - type variable getter
	 * @return the creature type
	 */
	public String getType();
	
	/***
	 * toString
	 * @return
	 */
	public String toString();
	
	/***
	 * deSerialize - deserializes an object
	 * @param item a string representing the object to deserialize.
	 */
	public void deSerialize(String[] item);

	/***
	 * serialize - serializes an object 
	 * @return a string representing the object
	 */
	public String serialize();	
}
